
const base = 'http://codingcase.zeiss.services';
// get only
const get = (url: string) => {
  const defaultOptions: any = {
    credentials: 'include',
    mode: 'cors',
    headers: {
      token: null,
      Authorization: null,
    },
  };
  const newURL = base + url;      
  return fetch(newURL, ...defaultOptions)
}

export {get}
